package org.ecloud.oauth.client.service;

import org.ecloud.common.constants.StateEnum;
import org.ecloud.core.entity.APIResult;
import org.springframework.stereotype.Repository;

@Repository
public class ContextOrgFallback implements ContextOrgService {

	@Override
	public APIResult<String> context(String ctx, String token, String username) {
		APIResult<String> result = new APIResult<>();
		
		result.setCode(StateEnum.UNAVAILABLE_SERVICE.getCode());
		result.setCause(StateEnum.UNAVAILABLE_SERVICE.getText());
		
		return result;
	}

}
